package com.lwx.setAndMap;

public class BSTMap<K extends Comparable<K>,V> implements Map<K,V>{
    private BSTKV<K,V> bst;

    public BSTMap(){
        this.bst = new BSTKV<>();
    }
    @Override
    public int getSize() {
        return bst.getSize();
    }

    @Override
    public boolean isEmpty() {
        return bst.isEmpty();
    }

    @Override
    public boolean contains(K key) {
        return bst.contains(key);
    }

    @Override
    public void add(K key, V value) {
        bst.add(key,value);
    }

    @Override
    public V remove(K key) {
        return bst.remove(key);
    }

    @Override
    public void set(K key, V value) {

    }

    @Override
    public V get(K key) {
        return null;
    }
}
